<!doctype html>
<html>
<head>
	<!-- css3 formak,style-ok a kinezethez,design-hoz -->
	<link href="Design.css" rel="stylesheet" type="text/css">
	<script type="text/javascript">
		function errorfind(){
			var tmp = decodeURI(<!--parameterbol atveszunk uzenetkodot ha van es megjeneitjuk a kodhoz tartozo uzenetet-->
				(RegExp("error" + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1]
			);
			if (tmp == "false1")
				alert("The passwords don't match!");
			if (tmp == "false2")
					alert("Username already exist!");
		}
		window.onload=errorfind();
	</script>
</head>
<Title>TBA Activity Registration || User Registration Page</Title>
<body>
<noscript>Enable javascript to correct function</noscript>
<div id="subtitle">
	<!-- a regisztralashoz szukseges adatok amelyeket ki kell tolteni a regisztralashoz-->
	<form action="BLL.php" method="get">
		<br>Full Name:
		<br><input type="text" size="30" name="fullname" required /><br>
		<br>Username:
		<br><input type="text" size="20" name="username" required /><br>
		<br>Password:
		<br><input type="password" size="20" name="password1" required /><br>
		<br>Re-type password:
		<br><input type="password" size="20" name="password2" required /><br>
		<br>Email:
		<br><input type="email" size="30" name="email" required /><br>
		<!-- regisztralas megerositesehez a gomb-->
		<br><input type="submit" name="registrate" id="button" value="Registration" />
	</form>
	<!-- fooldalra ugrasi gomb -->
	<br><form action="index.html"><input id="button" type="submit" value="Index"/></form>
</div>
</body>
</html>